package org.graduation.recruitment.service.Impl.resume;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.graduation.recruitment.entity.pojo.resume.CampusExperience;
import org.graduation.recruitment.mapper.resume.CampusExperienceMapper;
import org.graduation.recruitment.service.resume.CampusExperienceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CampusExperienceServiceImpl extends ServiceImpl<CampusExperienceMapper, CampusExperience> implements CampusExperienceService {
    @Autowired
    private CampusExperienceMapper campusExperienceMapper;

    @Override
    public List<CampusExperience> getAllByResumeId(Long resumeId) {
        return campusExperienceMapper.selectAllByResumeId(resumeId);
    }
}
